﻿<!doctype html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta name="applicable-device" content="pc">
        <title></title>
        <link rel="icon" href="images/favicon.ico" type="image/x-icon" />
        <link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon" />
        <link href="css/coincommon_v2_2.css" rel="stylesheet" type="text/css" media="screen, projection" />
        <link href="css/chat.css" rel="stylesheet" type="text/css" media="screen, projection" />
        <link href="css/jquery-ui.css" rel="stylesheet" type="text/css" media="screen, projection" />
        <link href="css/bodych.css" rel="stylesheet" type="text/css" media="screen, projection" />
        <link href="css/quotes.css" rel="stylesheet" type="text/css" media="screen, projection" />
        <script type="text/javascript">
        	function loadKline_iframe() {
                var symbol = "0";
                var languageType = jQuery("#languageType").val(); //中英文切换
                if (!jQuery("#kline_iframe")[0].contentWindow._set_current_language) {
                    setTimeout(loadKline_iframe, 200);
                    return;
                }
                if (languageType == 0) {
                    jQuery("#kline_iframe")[0].contentWindow._set_current_language("zh-cn"); // "zh-cn" "en-us" "zh-tw" //中英文切换
                } else {
                    jQuery("#kline_iframe")[0].contentWindow._set_current_language("en-us");
                }
                jQuery("#kline_iframe")[0].contentWindow._setCaptureMouseWheelDirectly(false);
                jQuery("#kline_iframe")[0].contentWindow._set_current_url("/api/klineData.do"); //url
                jQuery("#kline_iframe")[0].contentWindow._set_current_coin(Number(symbol) == 0 ? 0 : 3); //现货BTC
                jQuery("#kline_iframe")[0].contentWindow._set_money_type("usd"); // "usd" 'cny'现货不需要币种转换
            }
        </script>
    </head>
    
    <body id="maxHeight">
        <script type="text/javascript">var islogin = false;
            var site_flag = 1;
            var if_offline = 1;</script>
        <input type="hidden" id="rate_cny" value="6.7999">
        <input type="hidden" id="current_symbol" value="1">
        <div class="blind" style="top:0px;" id="blind"></div>
        <div class="nav1 clear" id="nav1" style="display:none;">
            <div class="nav1-sub clear" style="width:1180px;">
                <div class="nav-quick">
                    <div class="rightArea">
                        <a class="loadMessage" href="login.html">登录</a>
                        <a class="loadMessage" href="register.html">注册</a>
                    </div>
                </div>
            </div>
        </div>
        <div class="nav_bg2 banner_ch clear" id="nav_bg2">
            <div class="head clear" style="position:relative;">
                <div class="loaded-logo1">
                    <a href="index.html">
                        <img src="picture/logonew.png" alt="" />
                    </a>
                </div>
                <div class="accountinfo1" style="margin-right:0px;">
                    <div class="nav2-up1" style="padding-top:12px;height:30px;">
                        <div class="unLoginNve2" style="height:30px;line-height:30px;float:left;width:100%;">
                            <ul>
                                
                                <li class="">
                                    <a class="newUserHelp" href="authenticationMain.html">新手指导</a>
                                    <a class="userSupport" href="user_support.html">用户支持</a></li>
                                <li class="moreInfoLi">
                                    <span class="moreInfo" id="moreInfoUnlogin">更多</span>
                                    <div class="moreInfoContent" id="moreInfoContentUnlogin">
                                        <ul>
                                            <li>
                                                <a href="security.html">资金安全</a>
                                            </li>
                                            <li>
                                                <a href="#">常见问题</a>
                                            </li>
                                            <li>
                                                <a href="api.html">API</a>
                                            </li>
                                        </ul>
                                    </div>
                                </li>
                                
                                <li class="">
                                    <a class="login" href="login.html">登录</a></li>
                                <li class="">
                                    <a class="regit" href="register.html">注册</a></li>
                            </ul>
                        </div>
                    </div>
                </div>
                <div class="accountinfo1" style="margin-right:0px;">
                    <div class="nav2-sub1 clear">
                        <ul class="menu1" style="margin-top:18px;">
                            <li class="">
                                <a href="index.html" title="首页">
                                    <span class="">首页</span>
                                </a>
                            </li>
                            <li class="">
                                <a href="market_btc.html">
                                    <span>交易中心</span>
                                </a>
                            </li>
                            <li class="cur">
                                <a href="curve_btc.html">
                                    <span>行情图表</span>
                                </a>
                            </li>
                            <li class="">
                                <a href="recharge_cny.html" title="资金管理">
                                    <span>资金管理</span>
                                </a>
                            </li>
                            <li class="">
                                <a href="shequindex.html" title="资讯">
                                    <span>资讯</span>
                                </a>
                            </li>
                            <li style="position: relative;">
                                <a class="more " id="moreMenu">
                                	产品
                                    <em></em>
                                </a>
                                <div class="moreMenu" id="moreMenuCont" style="display: none;top:40px;right:-8px;">
                                    <p>
                                        <a target="_blank" href="data.html" title="区块数据">
                                            <span>区块数据</span>
                                        </a>
                                    </p>
                                </div>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
        <input type="hidden" id="error_" value="" />
        <input type="hidden" id="futureaccount_hidden" value="0.0">
        <input type="hidden" id="fundValue_hidden" value="0.0">
        <script type="text/javascript">function changeSiteTypeSelectClassOver() {
                document.getElementById("siteTypeSelect").className = "siteTypeSelectUr";
            }
            function changeSiteTypeSelectClassOut() {
                document.getElementById("siteTypeSelect").className = "siteTypeSelect";
            }
            function showFundTransferPop() {
                transferInit();
            }
            function closeFundTransferPop() {
                document.getElementById("fundTransferPop").style.display = "none";
                dialogBoxHidden();
                jQuery("#currencySelect").html("BTC");
                document.getElementById("currencySelect").attributes["codeValue"].value = 0;
                jQuery("#outAccountSelect").html("现货交易账户");
                document.getElementById("outAccountSelect").attributes["codeValue"].value = 1;
                jQuery("#intAccountSelect").html("");
                document.getElementById("intAccountSelect").attributes["codeValue"].value = -1;
                //location.reload([true]);
            }
            function gotoMoni() {
                var loginSuccess;
                jQuery.ajax({
                    url: '/user/loginMoniUser.do',
                    async: false,
                    success: function(data) {
                        var result = eval('(' + data + ')');
                        if (result != null && result.resultCode === 1) {
                            loginSuccess = true;
                        }
                    }
                });

                if (loginSuccess) {
                    var link = document.getElementById("jumpA");
                    link.click();
                } else {
                    location.href = '#';
                }
            }</script>
        <div class="main" id="main" style="padding-bottom:0px;position:relative;">
            <div class="buysellTitle" id="buysellTitle">
                <div class="selecttab1">
                    <ul class="selecttab-box1">
                        <li class="cur">
                            <a class="otherBoxTitle" href="#" style="">BTC K线</a></li>
                        <li class="">
                            <a class="otherBoxTitle" href="#" style="">LTC K线</a></li>
                        <li class="">
                            <a class="otherBoxTitle" href="#" style="">ETH K线</a></li>
                        <li class="">
                            <a class="otherBoxTitle" href="#" style="">行情对比</a></li>
                        <li style="float: right;">
                            <a style="color: #0096e0;" id="viewNew">体验新版</a></li>
                    </ul>
                </div>
            </div>
            <!-- K线样式选择 -->
            <div class="subtab-do-market">
                <ul class="l-status-dmsubtab">
                    <li class="li-status-dmsubtab">
                        <span style="font-size:14px;">K线:</span>
                        <select id="openKlineBlockSelect" onchange="javascript:openTradeBlock(this,2);" onmouseover="this.style.cursor='pointer'" style="width:100px;font-size:14px;margin-right:2px;border:1px solid #d5d5d5;;">
                            <option value="0">显示K线</option>
                            <option value="1">隐藏K线</option></select>
                    </li>
                    <li class="li-status-dmsubtab">
                        <span style="font-size:14px;">交易:</span>
                        <select id="openTradeBlockSelect" onchange="javascript:openTradeBlock(this,1);" onmouseover="this.style.cursor='pointer'" style="width:100px;font-size:14px;margin-right:2px;border:1px solid #d5d5d5;;">
                            <option value="0">显示交易</option>
                            <option value="1">隐藏交易</option></select>
                    </li>
                </ul>
                <div class="changeKlinestyle" id="changeKlinestyle">
                    <span>选择K线样式:</span>
                    <select onchange="klinestylechange(this.value)" onmouseover="this.style.cursor='pointer'" style="width:110px;font-size:14px;margin-right:2px;border:1px solid #d5d5d5;">
                        <option value="1">简易K线</option>
                        <option value="0">普通版K线</option>
                        <option value="4">TradingView</option>
                        <option selected value="5">专业版K线</option></select>
                </div>
            </div>
            <div id="guessMarketEnter" style="position: absolute;right: -120px;display: none;">
                <a href="#" target="_blank">
                    <img width="108" height="130" src="picture/guess_trade_enter.png"></a>
            </div>
        </div>
        <!-- K线或者盘口图 -->
        <div id="klineImage" class="klineImage">
            <div class="kLineBody" id="kLineBody" style="width:100%;">
                <script type="text/javascript">function iframe_onload() {
                        if (window.loadKline_iframe == undefined) {
                            setTimeout(iframe_onload, 200);
                        } else {
                            loadKline_iframe();
                        }
                    }</script>
                <div class="marketImageNew" id="marketImageNew">
                    <iframe id='kline_iframe' onload="javascript:iframe_onload();" style="border:0; width:100%;height:100%;" src="https://www.okcoin.cn/kline/fullKline.do"></iframe>
                    <a class="openfullscreen" id="openfullscreen" href="javascript:void(0)" onclick="javascript:klineFullScreenOpen()" title="全屏" style="display:block;"></a>
                    <a class="closefullscreen" id="closefullscreen" href="javascript:void(0)" onclick="javascript:klineFullScreenClose()" title="退出全屏" style="display:none"></a>
                </div>
            </div>
            <div style="display: none">
                <!-- 隐藏域 赋值操作-->
                <span id="klineDepth"></span>
            </div>
        </div>
        <div id="bottomBody" style="padding-top: 200px;position: absolute;left: 45%; z-index: 11 ;background: rgb(0,150,224,100); ">
            <a style="padding-top:15px;padding-bottom :15px;padding-left:40px;padding-right:40px;  border-radius:5px; color: #ffffff ;font-size: 22px;height: 46px;line-height: 46px;width: 240px;background: none repeat scroll 0 0 #0096e0;height: 60px;text-decoration:none;" href="/user/login.do?forward=/market.do">登录后才能交易</a>
            <input type="hidden" name="marketlogins" id="marketlogins" value="marketlogins" /></div>
        <div id="nologindiv" style="float:left;  height: 391px;width: 100%;min-width:1180px;text-align:center;margin-top:10px  ; position: absolute;z-index: 10; background-color: #000000; filter:alpha(opacity=15); opacity:0.45;"></div>
        <!-- 加载 -->
        <div id="depthHidding" style="float:left;  height: 377px; width: 100%;min-width:1180px;text-align:center;margin-top:442px ; position: absolute;z-index: 10; background-color: #000000; filter:alpha(opacity=15); opacity:0.45;">
            <span style="margin-top: 138px;display: inline-block;">
                <img alt="" height="120" width="117" src="picture/fullloading.gif"></span>
        </div>
        <div class="realtimeboxBody" id="realtimeboxBody">
            <div class="realtimebox clear" id="tradeRealtimebox" style="border:1px solid #e1e1e1;padding-top:0px;margin-bottom:0px;height:390px;">
                <div class="realtimeleft">
                    <div class="marketTransaction clear" style="width:840px;">
                        <input type="hidden" id="isLogin" value="0.0" />
                        <input type="hidden" id="userBalance" value="0.00" />
                        <div class="transactionbody floatLeft" id="transactionLeftBody">
                            <div class="mainBody" style="height:375px;">
                                <ul style="border-right:1px solid #e1e1e1;height:375px;">
                                    <li>
                                        <span onmouseover="this.style.cursor='pointer'" onclick="javascript:buyantoTurnover();">人民币余额:</span>
                                        <span class="lightgreen5 fontsize-14" onmouseover="this.style.cursor='pointer'" onclick="javascript:buyantoTurnover();">
                                            <span id="cny">0.00</span>
                                            <a href="/account/rechargeCny.do">
                                                <span class="finbutton">&nbsp;</span></a>
                                        </span>
                                        <span class="orderProportion">[下单比例:
                                            <a href="javascript:void(0);" onclick="javascript:onPortion(0.5);">1/2</a>&nbsp;
                                            <a href="javascript:void(0);" onclick="javascript:onPortion(0.3333);">1/3</a>&nbsp;
                                            <a href="javascript:void(0);" onclick="javascript:onPortion(0.25);">1/4</a>]</span></li>
                                    <li>
                                        <span id="canBuyBtcSpan" onmouseover="this.style.cursor='pointer'" onclick="javascript:buyantoTurnoverBorrow();">可买BTC:</span>
                                        <span class="lightgreen5 fontsize-14">฿</span>
                                        <span id='canBuyBTC' class="lightgreen5 fontsize-14" onmouseover="this.style.cursor='pointer'" onclick="javascript:buyantoTurnoverBorrow();">0.0000</span>
                                        <input type="hidden" id="nowPrice" value="19812.0" />
                                        <input type="hidden" id="userCnyBalance" value="0.0000" />
                                        <input type="hidden" id="feeTipsValue" value="Okcoin平台交易手续费为0%" />
                                        <span style="float: right;margin-right: 10px;">
                                            <a class="button_blue_border button-min" style="font-size: 13px;" href="/trade/fullTrade.do" target="_blank">全屏交易</a></span>
                                    </li>
                                    <li id="buyLimited">
                                        <span style="display:inline-block;">
                                            <input id="limitedType" type="checkbox" onpropertychange="javascript:limitedTypeChange();" onchange="javascript:limitedTypeChange();" onmouseover="this.style.cursor='pointer'" style="float:left;margin-top:10px;*margin-top:8px;" />
                                            <label for="limitedType" onmouseover="this.style.cursor='pointer'" style="float:left;padding-left:5px;">
                                                <span floattigsword="在交易界面，使用市场下单，您只需要输入买入多少钱或卖出多少币，系统会自动按买卖盘深度逐个成交。可以大大提高下单速度。" class="floatTigs bubbleTitle" onmouseout="javascript:floatTigsOut()" onmouseover="javascript:floatTigsOver(this)">市价单</span>(市价下单是指按深度逐个成交，
                                                <span style="color:red">请注意风险</span>)</label></span>
                                    </li>
                                    <li class="buytext" id="treadBuyContTextDiv">
                                        <span class="buyprice">买入价</span>
                                        <span class="buynum lightgreen5 bold">购买数量</span>
                                        <span class="summoney">总金额</span></li>
                                    <li class="buyinput" id="treadBuyContDiv">
                                        <span class="buyinputprice">
                                            <input class="buysellinput" name="tradeCnyPrice" id="tradeCnyPrice" onkeyup="javascript:_tradeTurnoverValue(1);" value="19829.98" /></span>
                                        <span class="buyinputnum">
                                            <input class="buysellinput" name="tradeAmount" id="tradeAmount" onkeyup="javascript:_tradeTurnoverValue(2);" /></span>
                                        <span class="inputsummoney">
                                            <input class="buysellinput" id="tradeTurnover" type="text" value="" onkeyup="javascript:_summoneyValue();" /></span>
                                        <span class="chen"></span>
                                        <span class="equal"></span>
                                    </li>
                                    <li id="limitedDiv" class="inputStyle lightgreen5" style="display: none">
                                        <span class="word">总金额 :</span>
                                        <input class="" id="limitedMoney" onkeyup="javascript:limitedSummoneyValue();" /></li>
                                    <li class="inputStyle clear" id="tradePwdLi" style="padding-top:20px; ">
                                        <span class="word">资金密码:</span>
                                        <span style="position:relative;">
                                            <input class="" name="tradePwd" id="tradePwd" type="password" onkeydown="callbackEnter(submitTradeBtcForm);" onkeypress="javascript:detectCapsLock(event,'capStatus15')" onblur="javascript:closeDetectCapsLock('capStatus15')" />
                                            <span id="capStatus15" style="display:none;position:absolute;z-index:36;left:90px;top:51px;">
                                                <img src="picture/prompt.png"></span>
                                        </span>
                                        <span style=''>
                                            <a class="lightblue5" href="/user/security.do#transactionPassword">(免输资金密码)</a></span>
                                        <p style="margin-left: 55px;font-size: 12px;line-height: 20px;">
                                            <a href="/user/security.do">忘记资金密码</a></p>
                                    </li>
                                    <li class="inputStyle1 center">
                                        <span id="needBorrowCnySpan" style="display:none" class="usingTips market"></span>
                                    </li>
                                    <li class="inputStyle1 center">
                                        <span id="tradeBtcTips" class="fred center tradeBtcTips"></span>
                                        <input type="hidden" id="tradeType" value="0" />
                                        <input type="hidden" id="symbol" value="0" />
                                        <input type="hidden" id="isopen" value="0"></li>
                                    <li class="inputStyle1 center">
                                        <input class="marketButtonGreen" onclick="javascript:submitTradeBtcForm();" id="btnA" type="button" value="买入"></li>
                                </ul>
                            </div>
                        </div>
                        <div class="transactionbody floatRight" id="transactionRightBody">
                            <input type="hidden" id="klineuserBalance" value="0.0" />
                            <input type="hidden" id="snowPrice" value="19829.98" />
                            <div class="mainBody" style="height:375px;">
                                <ul>
                                    <li>
                                        <span onmouseover="this.style.cursor='pointer'" onclick="javascript:sellantoAmount();">BTC余额:</span>
                                        <span class="fred fontsize-14" onmouseover="this.style.cursor='pointer'" onclick="javascript:sellantoAmount()" id="coinBalance">0.0000</span>
                                        <span class="orderProportion">[下单比例:
                                            <a href="javascript:void(0);" onclick="javascript:klineonPortion(0.5);">1/2</a>&nbsp;
                                            <a href="javascript:void(0);" onclick="javascript:klineonPortion(0.3333);">1/3</a>&nbsp;
                                            <a href="javascript:void(0);" onclick="javascript:klineonPortion(0.25);">1/4</a>]</span></li>
                                    <li>
                                        <span id="canBuyCnySpan" onmouseover="this.style.cursor='pointer'" onclick="javascript:sellantoAmountBorrow();">可卖人民币:</span>
                                        <span class="fred fontsize-14">￥</span>
                                        <span class="fred fontsize-14" onmouseover="this.style.cursor='pointer'" onclick="javascript:sellantoAmountBorrow();" id='canGetCny'>0.00</span>
                                        <input type="hidden" id="klineuserCoinBalance" value="0.0" />
                                        <input type="hidden" id="klinefeeTipsValue" value="Okcoin平台交易手续费为0%" />
                                        <span style="float: right;margin-right: 10px;">
                                            <a class="button_blue_border button-min" style="font-size: 13px;" href="/trade/fullTrade.do" target="_blank">全屏交易</a></span>
                                    </li>
                                    <li id="sellLimited">
                                        <span style="display:inline-block;">
                                            <input id="slimitedType" type="checkbox" onpropertychange="javascript:slimitedTypeChange();" onchange="javascript:slimitedTypeChange();" onmouseover="this.style.cursor='pointer'" style="float:left;margin-top:10px;*margin-top:8px;" />
                                            <label for="slimitedType" onmouseover="this.style.cursor='pointer'" style="float:left;padding-left:5px;">
                                                <span floattigsword="在交易界面，使用市场下单，您只需要输入买入多少钱或卖出多少币，系统会自动按买卖盘深度逐个成交。可以大大提高下单速度。" class="floatTigs bubbleTitle" onmouseout="javascript:floatTigsOut()" onmouseover="javascript:floatTigsOver(this)">市价单</span>(市价下单是指按深度逐个成交，
                                                <span style="color:red">请注意风险</span>)</label></span>
                                    </li>
                                    <li class="buytext" id="treadContTextDiv">
                                        <span class="buyprice" id="priceSpan">卖出价</span>
                                        <span class="buynum red bold" id="numSpan">卖出数量</span>
                                        <span class="summoney" id="summoneySpan">兑换额</span></li>
                                    <li class="buyinput" id="treadContDiv">
                                        <span class="buyinputprice">
                                            <input class="buysellinput" name="tradeCnyPrice" id="klinetradeCnyPrice" onkeyup="javascript:_klinetradeTurnoverValue(1);" value="19812" /></span>
                                        <span class="buyinputnum">
                                            <input class="buysellinput" name="tradeAmount" id="klinetradeAmount" onkeyup="javascript:_klinetradeTurnoverValue(2);" /></span>
                                        <span class="inputsummoney">
                                            <input class="buysellinput" id="klinetradeTurnover" type="text" value="" onkeyup="javascript:_klinesummoneyValue();" /></span>
                                        <span class="chen"></span>
                                        <span class="equal"></span>
                                    </li>
                                    <li id="slimitedDiv" class="inputStyle fred" style="display: none">
                                        <!-- <span class="inputStyle" id="limitpriceTitle" style="color:red;"><span style="color:red;">数量</span> : </span> -->
                                        <span class="word">数量 :</span>
                                        <input class="" id="klinelimitedMoney" onkeyup="javascript:klinelimitedSummoneyValue();" /></li>
                                    <li class="inputStyle clear" id="klinetradePwdLi" style="padding-top:20px; position:relative;">
                                        <span class="word">资金密码:</span>
                                        <span style="position:relative;">
                                            <input class="" name="tradePwd" id="klinetradePwd" type="password" onkeydown="callbackEnter(klinesubmitTradeBtcForm);" onkeypress="javascript:detectCapsLock(event,'capStatus16')" onblur="javascript:closeDetectCapsLock('capStatus16')" />
                                            <span id="capStatus16" style="display:none;position:absolute;z-index:36;left:90px;top:51px;">
                                                <img src="picture/prompt.png"></span>
                                        </span>
                                        <span style=''>
                                            <a class="lightblue5" href="/user/security.do#transactionPassword">(免输资金密码)</a></span>
                                        <p style="margin-left: 55px;font-size: 12px;line-height: 20px;">
                                            <a href="/user/security.do">忘记资金密码</a></p>
                                    </li>
                                    <li class="inputStyle1 center">
                                        <span id="needBorrowBtcSpan" style="display:none" class="usingTips market"></span>
                                    </li>
                                    <li class="inputStyle1 center">
                                        <span id="klinetradeBtcTips" class="fred center"></span>
                                        <input type="hidden" id="klinetradeType" value="1" />
                                        <input type="hidden" id="klinesymbol" value="0" />
                                        <input type="hidden" id="klineisopen" value="0"></li>
                                    <li class="inputStyle1 center">
                                        <input class="marketButtonRed" onclick="javascript:klinesubmitTradeBtcForm();" id="klinebtnA" type="button" value="卖出"></li>
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="realtimeright" style="border-left: 1px solid #e1e1e1;height:390px;">
                    <div id="tradeOrderTable" class="solid">
                        <div class="box">
                            <div class="title">
                                <span class="ttitle">最近10笔未成交挂单</span>
                                <a href="/trade/entrust.do" style="float:right;" class="fontsize-12">更多...</a></div>
                            <div class="clear">
                                <div class="realMarketBefore tenHeightMarketBefore" style="border:0px solid #e1e1e1;width:337px;">
                                    <table class="transaction" id="tenorders">
                                        <thead>
                                            <tr>
                                                <th width="70">委托类别</th>
                                                <th width="85">委托价格</th>
                                                <th width="85">尚未成交</th>
                                                <th width="100">操作/状态</th></tr>
                                        </thead>
                                        <tbody id="tradeTableBody">
                                            <tr>
                                                <td colspan="4" align="center">您暂时没有委托数据</td></tr>
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="realtimebox clear" id="realtimebox">
                <div class="realtimeleft">
                    <div class="solid">
                        <div class="box">
                            <div class="title">
                                <span class="ttitle">委托信息</span>
                                <span class="titleImg1" style="left:125px;">
                                    <span style="color:green">
                                        <span>合并深度：</span>
                                        <span id="deptMerge_burst_btn" onclick="deptMerge_com_new(1)" class="deptMergeBurst" href="javascript:void(0)">
                                            <a code="0" class="cur">0.01</a>
                                            <a code="2" class="">0.1</a>
                                            <a code="1" class="">1</a></span>
                                    </span>
                                </span>
                                <div class="updateTime" style="">
                                    <span style="float:right;display: inline-block;width:80px;">
                                        <span>网络状况:</span>
                                        <span id="netWork" class="wifi4" style="margin-top:10px;"></span>
                                    </span>
                                </div>
                                <div class="updateTime" style="display:none;">
                                    <div class="div1">
                                        <span>刷新时间:</span>
                                        <select id="updateSecond" onchange="javascript:updateMarketSecond();">
                                            <option value="2000">1s</option>
                                            <option value="3000">2s</option>
                                            <option value="6000">5s</option>
                                            <option value="11000">10s</option>
                                            <option value="31000">30s</option>
                                            <option value="61000">60s</option></select>
                                    </div>
                                    <div class="div2">
                                        <span style="">倒计时 :&nbsp;</span>
                                        <span id="secondNumber">&nbsp;&nbsp;</span>
                                        <span>s</span></div>
                                </div>
                            </div>
                            <div class="clear" id="marketEntrust" style="min-height:362px;">
                                <div class="real-left">
                                    <ul class="l-tt-transcation">
                                        <li class="li-tt-transcation" style="width:55px;">买入</li>
                                        <li class="li-tt-transcation" style="width:75px;">买入价(￥)</li>
                                        <li class="li-tt-transcation">委单量(฿)</li></ul>
                                    <div class="box-ct-transcation">
                                        <ul class="l-ct-transcation" id="depth_buy_context"></ul>
                                    </div>
                                </div>
                                <div class="real-right">
                                    <ul class="l-tt-transcation">
                                        <li class="li-tt-transcation" style="width:55px;">卖出</li>
                                        <li class="li-tt-transcation" style="width:75px;">卖出价(￥)</li>
                                        <li class="li-tt-transcation">委单量(฿)</li></ul>
                                    <div class="box-ct-transcation">
                                        <ul class="l-ct-transcation" id="depth_sell_context"></ul>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="realtimeright">
                    <div class="solid">
                        <div class="box">
                            <div class="title">
                                <h3 class="ttitle">最新成交</h3></div>
                            <div class="clear">
                                <div class="real" id="marketRecent">
                                    <table class="transaction">
                                        <thead>
                                            <tr>
                                                <th width="60">交易时间</th>
                                                <th width="80">成交价格(￥)</th>
                                                <th width="80">成交量(฿)</th></tr>
                                        </thead>
                                        <tbody id="marketRecentTbody"></tbody>
                                    </table>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <input type="hidden" id="cancelBatchStatus" value="1" />
        <input type="hidden" id="getSymbolValue" value="0" />
        <input type="hidden" id="marketLast" value="1" />
        <input type="hidden" id="getKlineVisionValue" value="5" />
        <input type="hidden" id="getKlineSymbol" name="okcoinbtccny" />
        <input type="hidden" id="forwardUrl" value="/market.do" />
        <input type="hidden" id="marketIsUpdate" value="1" />
        <input type="hidden" id="depthSymbol" value="-1">
        <input type="hidden" id="coinUrl" value="https://www.okcoin.com">
        <input type="hidden" id="depthMergeStock" value="0" />
        <input type="hidden" id="canpush" value="1" />
        <input type="hidden" id="languageType" value="0" />
        <input type="hidden" id="applyBorrowBtc" value="0.0" />
        <input type="hidden" id="applyBorrowLtc" value="0.0" />
        <input type="hidden" id="applyBorrowCny" value="0.0" />
        <input type="hidden" id="btcBorrowLever" value="0.0" />
        <input type="hidden" id="cnyBorrowLever" value="0.0" />
        <input type="hidden" id="isCnyBorrowPre" value="0" />
        <input type="hidden" id="isBtcBorrowPre" value="0" />
        <input type="hidden" id="maxCnyBorrowVolume" value="0.0" />
        <input type="hidden" id="maxBtcBorrowVolume" value="0.0" />
        <input type="hidden" id="coinMainUrl" value="https://www.okcoin.cn" />
        <input type="hidden" id="coinPreUrl" value="https://img.bafang.com/v_20170622001/okcoin" />
        <input type="hidden" id="footsetFlag" value="1">
        <input type="hidden" id="footLanguageType" value="0">
        <!-- // -->
        <input id="minibtctradeamountbuy" type="hidden" value="0.01">
        <input id="minibtctradeamountsell" type="hidden" value="0.01">
        <input id="miniltctradeamountbuy" type="hidden" value="0.1">
        <input id="miniltctradeamountsell" type="hidden" value="0.1">
        <input type="hidden" id="domain_siteflag" value="1">
        <input type="hidden" id="datePickerLanguageType" value="en">
        <input type="hidden" id="__pre_url" value="https://img.bafang.com/v_20170622001/okcoin">
        <script type="text/javascript" src="js/language_zh_cn.js"></script>
        <script type="text/javascript" src="js/language.js"></script>
        <script type="text/javascript" src="js/errorenum.js"></script>
        <script type="text/javascript" src="js/jquery-1.8.2.js"></script>
        <script type="text/javascript" src="js/jquery-ui-1.9.0.custom.js"></script>
        <script type="text/javascript" src="js/coincommon.js"></script>
        <script type="text/javascript">jQuery(document).ready(function() {
                //防止Clickjacking攻击
                if (window != window.parent) {
                    var matches = /\/\/([^\/]+)\//.exec(document.referrer);
                    if (matches && matches[1] && [location.host, 'http://local.okcoin.com/', 'https://www.okcoin.com/', 'http://localtest.okcoin.com/', 'http://local.okcoin.cn/', 'https://www.okcoin.cn/', 'http://localtest.okcoin.cn/'].indexOf(matches[1]) != -1) {} else {
                        alert("这是个仿冒财富密码的钓鱼网站，该网站会可能会盗取用户的账户密码等私人信息，将回到财富密码官方网站,请注意域名变化！");
                        window.parent.location = location;
                    }
                }
            });
            var footsetFlag = document.getElementById("footsetFlag").value;
            var chartLanguageType = jQuery("#footLanguageType").val();</script>
        <div class="okcoinPop" id="fastRepayWin" style="display:none;">
            <div class="dialog_content" id="dialog_content_fundTransfer" style="width: 550px;">
                <div class="dialog_title" id="dialog_title_fundTransfer">
                    <span id="titleInfo">还款</span>
                    <a href="javascript:void(0);" onclick="closeRepayWin();" class="dialog_closed" title="关闭"></a>
                </div>
                <div class="dialog_body" style="padding-right:14px;">
                    <ul class="fundTransferUl clear">
                        <li>
                            <span class="setLeft">当前可用：</span>
                            <span class="setRight green" id="availableMoney"></span>
                        </li>
                        <li>
                            <span class="setLeft">当前欠款：</span>
                            <span class="setRight fred" id="borrowMoney"></span>
                        </li>
                        <li>
                            <span class="setLeft">还款金额：</span>
                            <input id="repayNumberInput" class="fundTransferNumberInput" placeholder="" type="text" onkeyup="">
                            <label style="cursor: pointer;">
                                <input type="checkbox" id="repayAllBorrow" style="margin: 0px 10px;">归还全部欠款</label></li>
                    </ul>
                    <input type="hidden" id="lendSymbol" />
                    <div class="transferErrorTips clear" id="repayMessage" style="margin-left: 100px;width: 265px;"></div>
                    <input class="buttonBlue" type="button" onclick="fastRepay()" id="repayBorrowBth" value="还款" style="margin-left: 100px;width: 225px;height: 35px;">
                    <p style="margin-left: 100px;width: 225px;margin-top: 20px;">
                        <a id="redirectA" href="">查看借款详情</a></p>
                    <p style="height: 30px;"></p>
                </div>
            </div>
        </div>
        <script type="text/javascript" src="js/highstock.js"></script>
        <script type="text/javascript" src="js/exporting.js"></script>
        <script type="text/javascript" src="js/kline.js"></script>
        <script type="text/javascript" src="js/klinenew.js"></script>
        <script type="text/javascript" src="js/pushmarket.js"></script>
        <script type="text/javascript" src="js/selltrades.js"></script>
        <script type="text/javascript" src="js/buytrades.js"></script>
        <script type="text/javascript" src="js/datakline.js"></script>
        <script type="text/javascript" src="js/echarts.min.js"></script>
        <script type="text/javascript">function showGuessMarketEnter() {
                jQuery("#guessMarketEnter").show();
            }

            function loanBubbleIn(id) {
                jQuery('#' + id).show();
            }

            function loanBubbleOut(id) {
                jQuery('#' + id).hide();
            }

            jQuery(document).ready(function() {
                isActivityUser(11, showGuessMarketEnter);
            });
            function klinestylechange(styleval) {
                window.location.href = "/market.do?symbol=0&klineVision=" + styleval + "&mainType=-1&inner=1"
            }
            function _klinetradeTurnoverValue(type) {
                if (type == 1 && document.getElementById('klinetradeCnyPrice') != null && isNaN(checkNumberByName("klinetradeCnyPrice"))) {
                    document.getElementById("klinetradeCnyPrice").value = checkNumberByName("klinetradeCnyPrice");
                    return;
                }
                if (type == 2 && document.getElementById('klinetradeAmount') != null && isNaN(checkNumberByName("klinetradeAmount"))) {
                    document.getElementById("klinetradeAmount").value = checkNumberByName("klinetradeAmount");
                    return;
                }
                klinetradeTurnoverValue(type);
            }
            function _klinesummoneyValue() {
                if (document.getElementById("klinetradeTurnover") != null && isNaN(checkNumberByName('klinetradeTurnover'))) {
                    document.getElementById('klinetradeTurnover').value = checkNumberByName('klinetradeTurnover');
                    return;
                }
                klinesummoneyValue();
            }
            function _tradeTurnoverValue(type) {
                if (type == 1 && document.getElementById('tradeCnyPrice') != null && isNaN(checkNumberByName("tradeCnyPrice"))) {
                    document.getElementById("tradeCnyPrice").value = checkNumberByName("tradeCnyPrice");
                    return;
                }
                if (type == 2 && document.getElementById('tradeAmount') != null && isNaN(checkNumberByName("tradeAmount"))) {
                    document.getElementById("tradeAmount").value = checkNumberByName("tradeAmount");
                    return;
                }
                tradeTurnoverValue(type);
            }

            function _summoneyValue() {
                if (document.getElementById('tradeTurnover') != null && isNaN(checkNumberByName('tradeTurnover'))) {
                    document.getElementById("tradeTurnover").value = checkNumberByName("tradeTurnover");
                    return;
                }
                summoneyValue();
            }

            // 交易金额判断
            // type 0买、1卖
            function tradeTurnoverValue_borrow(symbol, type) {
                if (type == 0) {
                    var islimited = document.getElementById("limitedType").checked;
                    if (islimited) {
                        // 市价单
                        limitedSummoneyValue();
                    } else {
                        // 限价单
                        tradeTurnoverValue();
                    }
                } else if (type == 1) {
                    var islimited = document.getElementById("slimitedType").checked;
                    if (islimited) {
                        // 市价单
                        klinelimitedSummoneyValue();
                    } else {
                        // 限价单
                        klinetradeTurnoverValue();
                    }
                }
            }

            jQuery(document).ready(function() {
                testNetwork(); //网络状况
                var userAgent = navigator.userAgent;
                var klinevision = 5;
                var depthSymbol = -1;
                var mainType = -1;
                if (depthSymbol < 0) {
                    // 	    		K线样式一
                    if (userAgent == null || userAgent.indexOf("MSIE 6.0") > 0 || userAgent.indexOf("MSIE 7.0") > 0 || userAgent.indexOf("MSIE 8.0") > 0 || klinevision == 0) {
                        dataKLineNew(SYMBOLS_UTIL.marketFrom[Number(0)], 3, mainType);
                    };
                    if (userAgent == null || userAgent.indexOf("MSIE 6.0") > 0 || userAgent.indexOf("MSIE 7.0") > 0 || userAgent.indexOf("MSIE 8.0") > 0 || klinevision == 1) {
                        klineFullScreenClose();
                    };
                }
                document.getElementById("limitedType").checked = "";
                document.getElementById("slimitedType").checked = "";
                document.getElementById("klinetradeAmount").value = "";
                document.getElementById("klinetradeTurnover").value = "";
                document.getElementById("tradeAmount").value = "";
                document.getElementById("tradeTurnover").value = "";

                jQuery('#tradePwd').keyboard({
                    lang: 'en',
                    name: '16'
                });

                jQuery('#klinetradePwd').keyboard({
                    lang: 'en',
                    name: '17'
                });
            });
            document.getElementById("openKlineBlockSelect").selectedIndex = 0;
            document.getElementById("openTradeBlockSelect").selectedIndex = 0;</script>
        <script type="text/javascript">jQuery('.li-ct-transcation').hover(function() {
                jQuery(this).addClass('hover-ct-transcation');
            },
            function() {
                jQuery(this).removeClass('hover-ct-transcation');
            });
            function showMoreFriendLink() {
                jQuery("#moreFriendLink").show();
                jQuery("#showMoreFriendLink").hide();
            }</script>
        <div id="allFooter" class="clear" style="min-width:1180px">
            <div class="foot clear" id="footer">
                <ul>
                    <li style="padding-left: 0px;" rel="nofollow">
                        <a href="about.html">关于我们</a>
                    </li>
                    <li>
                        <a href="link_us.html" rel="nofollow">联系我们</a>
                    </li>
                </ul>
                <div class="interaction">
                    <div class="clear">
                        <ul>
                            <li>
                                <span>联系我们：</span></li>
                            <li>
                                <span>400-090-133</span>
                                <span>（9:00至21:00）</span>
                            </li>
                        </ul>
                        <p class="copyright">©2013-2017 财富密码.cn Inc. All Rights Reserved 财富密码 版权所有 |粤ICP备15027590号</p>
                    </div>
                </div>
            </div>
        </div>
        
        <script type="text/javascript">
        	function clossChartActive() {
                var chartActiveNew = new CookieClass();
                if (chartActiveNew.getCookie("chartActiveNew") == "" || chartActiveNew.getCookie("chartActiveNew") == 1) {
                    chartActiveNew.setCookie("chartActiveNew", 0);
                }
                document.getElementById('goToNewFutureActive').style.display = "none";
            }
            boxFloat("moreMenu", "moreMenuCont");
            boxFloat("moreInfoUnlogin", "moreInfoContentUnlogin");
        </script>
        
        <div class="index_friendLink" style="min-width: 1180px;">
            <div class="inner_block">
                <span style="margin-right: -15px;">友情链接：</span>
                <a target="_blank" href="https://www.thgo8.com/">通惠购</a>
            </div>
        </div>
        <div class="index_friendLink" style="min-width: 1180px;">
            <div class="inner_block">
                <span style="margin-right: -15px;">网站链接：</span>
                <a target="_blank" href="http://8.thgo8.com/">众创金融</a>
            </div>
        </div>
    </body>
</html>